//
//  QuickButtonCell.m
//  Shengzhuli
//
//  Created by FXGuo on 2018/3/13.
//  Copyright © 2018年 kamangkeji. All rights reserved.
//

#import "QuickButtonCell.h"

@interface QuickButtonCell()

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *leftTwoMarginCons;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *rightFoueMarginCons;


@end

@implementation QuickButtonCell

- (void)awakeFromNib {
    [super awakeFromNib];
    CGFloat margin = (ScreenW-20*2-41*5)/4.0;
    self.leftTwoMarginCons.constant = margin;
    self.rightFoueMarginCons.constant = margin;
}

- (IBAction)btnClick:(UIButton *)btn
{
    if (self.btnClick) {
        self.btnClick(btn.tag);
    }
}


@end
